<template>
  <view class="box">
    <dao title="售后进度" color="#fff" :left="true" />
    <!-- <quan v-if="true" /> -->

   <view class="sdsdax">
 <view  v-for="item in arr" :key="item.id">
  <cards :datas="item" />

 </view>


 
     <view style="height: 46rpx;"></view>


   </view>
  </view>
</template>

<script setup >
import {fenxsshou} from '../../api/login'
import upload from '../../components/upload.vue'
import dao from "../../pages/conpments/daohang.vue";
import cityPicker from '@/uni_modules/piaoyi-cityPicker/components/piaoyi-cityPicker/piaoyi-cityPicker'
import {
    onLoad,
    onShow,onHide
  } from "@dcloudio/uni-app";

 import cards from './card.vue'
import { useCounterStore } from "../../stores/counter";
import {
  ref,
  onMounted,
  inject,
  getCurrentInstance,
  reactive,
  computed,
} from "vue";
const arr=ref([])
onShow(async ()=>{

  const {data}= await fenxsshou()
  console.log(data);
  arr.value=data.data
 
})
</script>

<style scoped lang="scss">
.warp {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}
.ferf{text-align: right;

color: #606266;}

.sdsdax{

width: 100%;
margin-top:20rpx;
padding-top: 20rpx;
height: calc(100vh - 222rpx);
overflow-y: scroll;
box-sizing: border-box;
}



:deep(.uni-forms-item__error){
  text-align: right;
  
}
:deep(.uni-easyinput__content-input){
  text-align: right;
}
:deep(.uni-select__input-placeholder){
  text-align: right;
  color: #606266 !important;
}
:deep(.uni-easyinput__placeholder-class) {
    text-align: right;
    /* 如有需要，可以添加额外的样式，如颜色等 */
}

.box {
  height: 50vh;
  background: linear-gradient(
    180deg,
    $uni-primary 0%,
    rgba(216, 237, 232, 0.43) 61.6%,
    rgba(217, 217, 217, 0) 100%
  );
}



</style>